/**
 * 设置根据环境不同而有不同内容的配置
 */
let isInProduction = false;

module.exports = {
    // 前置脚本
    preScripts: isInProduction ? [
        'https://unpkg.com/react@16/umd/react.production.min.js',
        'https://unpkg.com/react-dom@16/umd/react-dom.production.min.js',
        'https://unpkg.com/prop-types@15.6/prop-types.min.js'        
    ] : [
            'https://unpkg.com/react@16/umd/react.development.js',
            'https://unpkg.com/react-dom@16/umd/react-dom.development.js',
            'https://unpkg.com/prop-types@15.6/prop-types.js'
        ]
}